package vip.liux.contracts.shared.enums.product;

import vip.liux.core.enums.IEnum;

public enum PropRule implements IEnum {
    // 0:销售属性(规格) 1:产品参数属性
    SPECIFICATION(1, "销售属性"),
    PARAMETER(2, "产品参数属性");;

    final int value;
    final String desc;

    PropRule(int value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    @Override
    public int getValue() {
        return value;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}

